package org.groovyflow.spring.web.prettyURL;

public class SafeRedirect {
	
	public String makeSafeRedirect(String originalRedirect, String path){
		if(originalRedirect.contains("://"))
			return originalRedirect;
		return path + originalRedirect;
	}

}
